/**
 * Copyright 2012 Alfredo "Rainbowbreeze" Morresi
 * 
 * This file is part of Apps4Italy PM10 project.
 * 
 * PM10 is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * PM10 is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with Foobar. If not, see http://www.gnu.org/licenses/.
 */
package it.rainbowbreeze.eureka.ui;

import it.rainbowbreeze.eureka.common.AppEnv;
import it.rainbowbreeze.libs.common.RainbowLogFacility;
import it.rainbowbreeze.libs.ui.RainbowActivityHelper;
import android.app.Activity;
import android.content.Context;

/**
 * @author Alfredo "Rainbowbreeze" Morresi
 *
 */
public class ActivityHelper extends RainbowActivityHelper {
    // ------------------------------------------ Private Fields

    // -------------------------------------------- Constructors
    public ActivityHelper(RainbowLogFacility logFacility, Context context) {
        super(logFacility, context);
    }

    // --------------------------------------- Public Properties
    public static final String KEY_LATITUDE = "Latitude";
    public static final String KEY_LONGITUDE = "Longitude";
    public static final String KEY_ZOOM = "Zoom";
    

    // ------------------------------------------ Public Methods
    public void openAbout(Activity callerActivity) {
        openActivity(callerActivity, AboutActivity.class, null, false, REQUESTCODE_NONE);
//        super.openAbout(
//                callerActivity,
//                AboutActivity.class,
//                AppEnv.APP_INTERNAL_NAME,
//                AppEnv.APP_DISPLAY_VERSION,
//                AppEnv.EMAIL_FOR_ERROR_LOG);
    }


    public void openImport(Activity callerActivity) {
        openActivity(callerActivity, ImportActivity.class, null, false, REQUESTCODE_NONE);
    }

    public void openFilters(Activity callerActivity, int requestCode) {
        openActivity(callerActivity, FiltersActivity.class, null, true, requestCode);
    }

    public void openMainMap(Activity callerActivity) {
        openActivity(callerActivity, MainMapActivity.class, null, false, REQUESTCODE_NONE);
    }

    // ----------------------------------------- Private Methods

    // ----------------------------------------- Private Classes
}
